﻿# coding=utf-8
from app import app, db
from flask_migrate import Migrate, MigrateCommand
from flask_script import Manager
from modes import db, Hosts, projects, DeployTask, Node, Logs, scTemp

# 导入定义的模型

manager = Manager(app)
migrate = Migrate(app, db)

manager.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manager.run()
